package com.ysx.oa.delay.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

public class GetDateTime {

    public static String nowTime(){

        Date date = new Date();
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String nowTime = sdf.format(date);
        return nowTime;

    }

}
